#include <iostream>
#include <unistd.h>
using namespace std;
int main()
{
  cout << "pid:->" << getpid() << " " << "ppid:->" << getppid() << endl;
  sleep(2);
  return 0;
}
